]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
padOsd: Fixup to the previous commit
authorCarlos Garnacho <carlosg@gnome.org>
Tue, 30 Jan 2018 15:33:40 +0000 (16:33 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Tue, 30 Jan 2018 15:41:25 +0000 (16:41 +0100)
Forgot to squash this change before pushing, I will leave something in the
money jar as I close the door.

js/ui/padOsd.js

index 49d36e6dcfb8df41bf91a83301561d7c759b61fb..6e11ddfbaaf717dafd07675f6b6dfb9a4fcf1da7 100644 (file)
@@ -978,7 +978,7 @@ var PadOsdService = new Lang.Class({
 
         devices.forEach(Lang.bind(this, function(device) {
             if (deviceNode == device.get_device_node() &&
-                padDevice.get_device_type() == Clutter.InputDeviceType.PAD_DEVICE)
+                device.get_device_type() == Clutter.InputDeviceType.PAD_DEVICE)
                 padDevice = device;
         }));